Duplicator\Libs\Snap\SnapUtil D

Total Complexity 157
Dependencies 2
Dependents 41
Total lines 990
Lines of code 472
Logical lines of code 298
Comment lines 401
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
arrayGroupBy()
A
48 15 30
convertToBytes()
A
49 12 32
rand()
A
44 10 41
sanitizeStrict()
A
54 8 19
isIniValChangeable()
A
55 8 19
filterInputRequestArray()
S
54 7 21
phpIniGet()
S
54 7 20
getInputFromType()
S
56 7 18
binarySearch()
S
56 5 19
generatePassword()
S
59 4 14
arrayMapRecursive()
S
61 4 12
inArrayExtended()
S
63 4 11
getValueByType()
S
62 4 10
sanitizeTextInput()
S
59 3 15
classExists()
S
63 4 10
duplicatorSetTimeLimit()
S
65 4 9
filterInputDefaultSanitizeString()
S
59 3 15
getCallingFunctionName()
S
57 3 14
getArrayValue()
S
63 3 11
filterInputRequest()
S
68 3 6
obCleanAll()
S
64 3 10
sanitizeInt()
S
64 3 9
sanitizeBool()
S
65 3 9
arrayKeyFirst()
S
64 3 10
getWorkPercent()
S
65 2 8
phpinfo()
S
71 2 6
versionCompare()
S
64 2 9
getVersion()
S
68 2 7
isPHP7Plus()
S
68 2 7
errorLog()
S
70 2 6
sanitizeInput()
S
70 2 6
sanitizeBoolInput()
S
70 2 6
sanitizeIntInput()
S
70 2 6
sanitizeStrictInput()
S
69 2 6
getIntBetween()
S
77 1 3
sanitizeNSCharsNewlineTabs()
S
78 1 3
getArchitectureString()
S
78 1 3
sanitizeNSChars()
S
78 1 3
sanitize()
S
79 1 3
sanitizeNSCharsNewlineTrim()
S
79 1 3
sanitizeNSCharsNewline()
S
78 1 3